from django.db import models

class Food(models.Model):
    date = models.DateField(null=False)
    noon = models.JSONField(null=True)
    night = models.JSONField(null=True)
    created_at = models.DateTimeField(null=False, auto_created=True, auto_now_add=True)
    updated_at = models.DateTimeField(null=False, auto_created=True, auto_now=True)

    class Meta:
        db_table = 'food'